import request from "@/utils/request";
// 获取讨论列表
export const getDiscussionList = (params) => {
  return request({
    url: "/discussion/list",
    method: "get",
    params,
  });
};
// 删除讨论
export const deleteDiscussion = (id) => {
  return request({
    url: `/discussion/delete/${id}`,
    method: "get",
  });
};
